Repository navigation
Gecode 7: normalized API names, LT constants and Clang checks - #286
Merged
Merged
Conversation
This was referenced Nov 20, 2026
|
Important Review skippedToo many files! This PR contains 596 files, which is 296 over the limit of 300. To get a review, reduce the PR to 300 files or fewer by splitting it into smaller PRs or changing its base branch. Usage-priced reviews support at most 500 files.
|
zayenz
force-pushed
the
feature/breaking-7-03-api-and-checks
branch
from
November 25, 2026 19:19
4cc06fc to
186670f
Compare
zayenz
marked this pull request as ready for review
November 25, 2026 20:46
zayenz
force-pushed
the
feature/breaking-7-03-api-and-checks
branch
from
November 25, 2026 21:54
186670f to
abb4a95
Compare
zayenz
force-pushed
the
feature/breaking-7-03-api-and-checks
branch
2 times, most recently
from
November 26, 2026 06:11
d148229 to
5083c78
Compare
zayenz
force-pushed
the
feature/breaking-7-03-api-and-checks
branch
from
November 26, 2026 06:13
5083c78 to
7843721
Compare
Pack has a data member l, and MSVC resolves l in the out-of-line definition of calc_dff_lower_bound to that member instead of to the template parameter of the same name, which breaks the Windows builds.
zayenz
force-pushed
the
feature/breaking-7-03-api-and-checks
branch
from
November 26, 2026 10:18
7843721 to
47ba01d
Compare
GitHub's ubuntu-latest image is now Ubuntu 26.04, where apt-get found no installation candidate for g++-multilib, so the job failed before building.
zayenz
force-pushed
the
feature/breaking-7-03-api-and-checks
branch
2 times, most recently
from
November 26, 2026 19:14
a8ba013 to
d456480
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With formatting in place from #285, this PR applies the Gecode 7 naming conventions, resolves the existing Clang warnings, and turns on extended linting in CI so every later PR in the stack stays lint-clean.
There are four main commits, preceded by fixes for the MSVC and 32-bit builds of
main:mainfails to build with MSVC:Packhas a data memberl, and MSVC resolves the template parameterlofcalc_dff_lower_boundto that member. The first commit renames the parameter torange.ubuntu-latestis now Ubuntu 26.04, whereg++-multilibhas no installation candidate. The second commit runs the 32-bit linkage job on Ubuntu 24.04 with GCC 14.snake_casefor functions, variables, and members (such aspropagatorgroup()->propagator_group(),modeventdelta()->modevent_delta(),no_overlap, andbin_packing), while types keepPascalCase. Enum constants may useUPPER_CASEorPascalCase, so existing names such as the fail point phases (Phase::PropagatorCopy) and the crew example's employees keep their case. Names that are one word stay whole (tiebreak()), andclearall()becomesclear_all().modeventis kept as a name, and the FlatZinc argument conversions becometo_*(arg2intvarargs()->to_int_var_args()). The same commit adds missingoverridespecifiers and fixes the remaining Clang diagnostics. It touches 558 files, almost all mechanically.check-extendedCI job runsmisc/check.py allunder LLVM 22, covering lint, generated-source freshness, CTest suites, installed-package consumers, and documentation. From this point on, every PR in the stack passes lint at its tip._LEto_LT(IRT_LT,FRT_LT,SRT_LT) with no compatibility aliases. HavingIRT_LEmean strictly less right next toIRT_LQfor less-or-equal was a recurring source of confusion; values and semantics do not change, and_LQstays as it is.' 'replacesstd::endlin multi-line output where flushing is not needed.Stack
Merge in this order. #242, #282, #283, #241, #284, and #285 are merged. #286 targets
main, and each later PR builds on the one before it so its diff shows only its own commits. The first four PRs are standalone search and random-number changes; #284 through #274 are the Gecode 7 changes split out of what used to be a single branch.